#ifndef QEXPORTFILE_H
#define QEXPORTFILE_H

#include "qexportfile_global.h"

#include <QFile>
#include <QTextStream>
#include <QStringList>
#include <QFileInfo>
#include "export_define.h"

class QExportFile : public QFile
{
	Q_OBJECT
public:
   QExportFile(const QString& filename);
   virtual ~QExportFile();
   virtual void add(QStringList item)=0;
   virtual QStringList plpList()=0;

signals:
	void report(const QString&);
protected:  
   QStringList addLine(QStringList item);
private:
   void writeHeader();

   QStringList m_header;
   QStringList m_plp;
};

#endif // QEXPORTFILE_H
